package com.frank.oj.service.file;

import com.frank.model.entity.group.Group;
import com.frank.oj.common.result.CommonResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * @author frank
 * @Date 2024/3/28
 */
public interface ImageService {
    CommonResult<Map<Object, Object>> uploadCarouselImg(MultipartFile image);

    CommonResult<Map<Object, Object>> uploadAvatar(MultipartFile image);

    CommonResult<Group> uploadGroupAvatar(MultipartFile image, Long gid);
}
